package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Book;
import org.springframework.cache.annotation.Cacheable;

public interface BookService extends IService<Book> {

//    @Cacheable(value = "cacheSpace",key = "#id")
    Book getCacheById(String id);

}
